<?php
/**
 * Created by PhpStorm.
 * User: Administrator
 * Date: 2018/6/14
 * Time: 16:17
 */

namespace app\admin\model;


class Collage extends BaseModel
{
    //商品的关联外键
    public function goods()
    {
        return $this->belongsTo('Goods','goods_id','id');
    }
}